package com.mashibing.service;

import com.mashibing.internalcommon.dto.PassengerUser;
import com.mashibing.internalcommon.dto.ResponseResult;

public interface UserService {
    ResponseResult<Void> loginOrRegister(String passengerPhone);

    /**
     * 根据电话查询用户信息
     * @param phone
     * @return
     */
    ResponseResult<PassengerUser> getUserByPassengerPhone(String phone);
}
